<%= form_for(:session, url: esorts_path, :html => {:class=>'form-horizontal'}) do |t| %>
	<fieldset>
		<legend>
    <%= link_to '活动分类列表', esorts_path %>
    </legend>
  <div class="control-group">
    <label class="control-label">分类名称</label>
    <div class="controls">
    <%= t.text_field :title, :placeholder => '分类名称' %>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label">状态</label>
    <div class="controls">
      <%= radio_button_tag 'session[status]',0, true, :class => 'new'  %>启用
      <%= radio_button_tag 'session[status]',1, false, :class => 'new'  %>禁用
    </div>
  </div>
  <div class="control-group">
    <div class="controls">
      <button type="submit" class="btn">新增</button>
    </div>
  </div>
</fieldset>
<% end %>
